package com.sophialex.health.record.lktable;

import com.sophialex.health.system.lktable.LKTableUtil.ECellEditType;





public class KtableColumnDesc {
	private String columnTitle; // 标题
	private String field; // 字段
	private int width; // 宽
	private int align; // 对齐方式
	private ECellEditType editType; // 编辑器
	private boolean cellEdit;// 是否可编辑
	private boolean canSetValue;// 是否能设置值
	private InLkCellEditBase editBase;

	public KtableColumnDesc(String columnTitle, String field, int width,
			int align, ECellEditType editType, boolean cellEdit,
			boolean canSetValue, InLkCellEditBase editBase) {
		this.columnTitle = columnTitle;
		this.field = field;
		this.width = width;
		this.align = align;
		this.editType = editType;
		this.cellEdit = cellEdit;
		this.canSetValue = canSetValue;
		this.editBase = editBase;
	}

	public KtableColumnDesc() {

	}

	public InLkCellEditBase getEditBase() {
		return editBase;
	}

	public void setEditBase(InLkCellEditBase editBase) {
		this.editBase = editBase;
	}

	public String getColumnTitle() {
		return columnTitle;
	}

	public void setColumnTitle(String columnTitle) {
		this.columnTitle = columnTitle;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getAlign() {
		return align;
	}

	public void setAlign(int align) {
		this.align = align;
	}

	public ECellEditType getEditType() {
		return editType;
	}

	public void setEditType(ECellEditType editType) {
		this.editType = editType;
	}

	public boolean isCellEdit() {
		return cellEdit;
	}

	public void setCellEdit(boolean cellEdit) {
		this.cellEdit = cellEdit;
	}

	public boolean isCanSetValue() {
		return canSetValue;
	}

	public void setCanSetValue(boolean canSetValue) {
		this.canSetValue = canSetValue;
	}

}
